<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <h1>spring boot hello world!</h1>

    <h1>测试result风格表单提交</h1>

    <form method="post" th:action="@{/addUser}">
        <input type="hidden" name="_method" value="PUT">
        <button type="submit">PUT-提交</button>
    </form>

    <form method="post" th:action="@{/updateUser}">
        <input type="hidden" name="_method" value="POST">
        <button type="submit">POST-提交</button>
    </form>

    <form method="post" th:action="@{/deleteUser}">
        <input type="hidden" name="_method" value="DELETE">
        <button type="submit">DELETED-提交</button>
    </form>

</body>
</html>